#ifndef SUGGESTION_DICT_H
#define SUGGESTION_DICT_H

#include "common.h"

#define LOAD_DICT_FAILURE "Cann't open dictionary file"

typedef struct dicData {
    char*    dptr;
    int dsize;
} DICT;

typedef std::unordered_map<std::string, std::string> MAP_DICT;

class sgDict
{
    public :
        MAP_DICT load(char *);
};

#endif
